<!DOCTYPE html>
<html lang="en">

<head>
  <meta charset="UTF-8">
  <meta http-equiv="X-UA-Compatible" content="IE=edge">
  <meta name="viewport" content="width=device-width, initial-scale=1.0">
  <!-- <link rel="stylesheet" href="./2.网易云.less"> -->
  <link rel="stylesheet" href="./2.网易云.css">
  <link rel="stylesheet" href="//at.alicdn.com/t/c/font_3687083_d5kknkxbf4m.css">
  <link rel="shortcut icon" href="//s1.music.126.net/style/favicon.ico?v20180823">
  <title>网易云音乐</title>
</head>

<body>
  <div id="max">
    <div class="top_first_nav">
      <div class="tfn_middle">
        <ul class="left_ul">
          <li></li>
          <li>
            <p>发现音乐</p>
          </li>
          <li>
            <p>我的音乐</p>
          </li>
          <li>
            <p>关注</p>
          </li>
          <li>
            <p>商城</p>
          </li>
          <li>
            <p>音乐人</p>
          </li>
          <li class="hot">
            <p>下载客户端</p>
            <img src="./wimg/20221005112316.png" alt="">
          </li>
        </ul>

        <ul class="right_ul">
          <li>
            <span class="iconfont">&#xe609;</span>
            <input type="text" placeholder="音乐/视频/电台/用户">
          </li>
          <li>创作者中心</li>
          <li><a href="">登录</a></li>
        </ul>
      </div>
    </div>
    <div class="top_second_nav">
      <div class="tsn_middle">
        <ul>
          <li>
            <div></div>
            <span>推荐</span>
          </li>
          <li><span>排行榜</span></li>
          <li><span>歌单</span></li>
          <li><span>主播电台</span></li>
          <li><span>歌手</span></li>
          <li><span>新碟上架</span></li>
        </ul>
      </div>
      <!-- 轮播图开始 -->
      <div class="roll_picture" id="rollP">
        <!-- 大背景轮播 -->
        <div class="rp_box" id="rpBox">
          <div class="rp rp1"></div>
          <div class="rp rp2"></div>
          <div class="rp rp3"></div>
          <div class="rp rp4"></div>
          <div class="rp rp5"></div>
          <div class="rp rp6"></div>
          <div class="rp rp7"></div>
          <div class="rp rp8"></div>
        </div>
        <div class="rp_middle">
          <!-- 导航按钮 -->
          <a href="javascript:;" class="btn a1"></a>
          <a href="javascript:;" class="btn a2"></a>
          <!-- 中心图片轮播 -->
          <div id="allPBox" class="photo">
            <div class="photo_box">
              <!-- <img src="./网易数据包/img轮播图/1组/1.jpg" alt=""> -->
            </div>
            <div class="photo_box">
              <!-- <img src="./网易数据包/img轮播图/2组/1.jpg" alt=""> -->
            </div>
            <div class="photo_box">
              <!-- <img src="./网易数据包/img轮播图/3组/1.jpg" alt=""> -->
            </div>
            <div class="photo_box">
              <!-- <img src="./网易数据包/img轮播图/4组/1.jpg" alt=""> -->
            </div>
            <div class="photo_box">
              <!-- <img src="./网易数据包/img轮播图/5组/1.jpg" alt=""> -->
            </div>
            <div class="photo_box">
              <!-- <img src="./网易数据包/img轮播图/6组/1.jpg" alt=""> -->
            </div>
            <div class="photo_box">
              <!-- <img src="./网易数据包/img轮播图/7组/1.jpg" alt=""> -->
            </div>
            <div class="photo_box">
              <!-- <img src="./网易数据包/img轮播图/8组/1.jpg" alt=""> -->
            </div>
          </div>

          <!-- 分页器 -->
          <div class="cursor" id="cursor">
            <span></span>
            <span></span>
            <span></span>
            <span></span>
            <span></span>
            <span></span>
            <span></span>
            <span></span>
          </div>

          <div class="download">
            <p>PC 安卓 iPhone WP iPad Mac 六大客户端</p>
            <a href="https://music.163.com/#/download"></a>
            <div class="s1"></div>
            <div class="s2"></div>
          </div>
        </div>
      </div>
      <!-- 轮播图结束 -->
    </div>


    <!-- 音乐区开始 -->
    <div class="music_content">
      <div class="left_music">
        <div class="left_box">
          <!-- 热门推荐 -->
          <div class="first_music">
            <div class="f_top_nav">
              <img src="./wimg/圆标.png" alt="">
              <p>热门推荐</p>
              <ul>
                <li>华语</li>
                <li>流行</li>
                <li>摇滚</li>
                <li>民谣</li>
                <li>电子</li>
              </ul>
              <div class="more">
                <p>更多</p>
                <img src="./wimg/红色箭头.png" alt="">
              </div>
            </div>
            <div class="eight_img" id="ei">
              <ul>
              </ul>
            </div>
          </div>
          <!-- 新碟上架 -->
          <div class="second_music">
            <div class="s_top_nav">
              <img src="./wimg/圆标.png" alt="">
              <p>新碟上架</p>
              <div class="more">
                <p>更多</p>
                <img src="./wimg/红色箭头.png" alt="">
              </div>
            </div>
            <div class="cd_home">
              <a class="left_little_nar xbtn"></a>
              <a class="right_little_nar xbtn"></a>
              <div class="CD" id="CD">
                <div class="s_home">
                  <div class="slide">
                    <ul>
                    </ul>
                  </div>
                  <div class="slide">
                  </div>
                </div>
              </div>
            </div>
          </div>
          <!-- 榜单 -->
          <div class="third_music">
            <div class="t_top_nav">
              <img src="./wimg/圆标.png" alt="">
              <p>榜单</p>
              <div class="more">
                <p>更多</p>
                <img src="./wimg/红色箭头.png" alt="">
              </div>
            </div>
            <div class="music_list" id="mus">
              <div class="ml_left mll">
                <div class="top_music">
                  <img src="./wimg/飙升榜 .jpg" alt="">
                  <a href="javascript:;"></a>
                  <div class="title_music">
                    <p>飙升榜</p>
                    <div></div>
                    <div class="two_img">
                      <span class="play-knew"></span>
                      <span class="docum"></span>
                    </div>
                  </div>
                </div>
                <ul></ul>
                <div class="look_all">
                  <p>查看全部></p>
                </div>
              </div>
              <div class="ml_middle mll">
                <div class="top_music">
                  <img src="./wimg/新歌榜.jpg" alt="">
                  <a href="javascript:;"></a>
                  <div class="title_music">
                    <p>新歌榜</p>
                    <div></div>
                    <div class="two_img">
                      <span class="play-knew"></span>
                      <span class="docum"></span>
                    </div>
                  </div>
                </div>
                <ul></ul>
                <div class="look_all">
                  <p>查看全部></p>
                </div>
              </div>
              <div class="ml_right mll">
                <div class="top_music">
                  <img src="./wimg/原创榜.jpg" alt="">
                  <a href="javascript:;"></a>
                  <div class="title_music">
                    <p>原创榜</p>
                    <div></div>
                    <div class="two_img">
                      <span class="play-knew"></span>
                      <span class="docum"></span>
                    </div>
                  </div>
                </div>
                <ul></ul>
                <div class="look_all">
                  <p>查看全部></p>
                </div>
              </div>

            </div>
          </div>
        </div>
      </div>
      <div class="right_music">
        <div class="right_box">
          <div class="right_top_box">
            <p>登录网易云音乐，可以享受无限收藏的乐趣，并且无限同步到手机</p>
            <div class="register">
              用户登录
            </div>
          </div>
          <!-- 入驻歌手开始 -->
          <div class="right_middle_box">
            <div class="rmb_title">
              <h3 class="rmb_t_1">入驻歌手</h3>
              <p class="rmb_t_2">查看全部></p>
            </div>
            <ul id="singer">
            </ul>
            <div class="apply">
              <div>申请成为网易音乐人</div>
            </div>
          </div>
          <!-- 入驻歌手结束 -->

          <!-- 热门主播开始 -->
          <div class="right_bottom_box">
            <div class="rbb_title">
              <h3>热门主播</h3>
            </div>
            <ul id="TV-man">
            </ul>
          </div>
          <!-- 热门主播结束 -->
        </div>
      </div>
    </div>
    <!-- 音乐区结束 -->

    <!-- 底部音乐栏开始 -->
    <div class="bottom_music">
      <div class="bm_box">
        <div class="bm_bg"></div>
        <div class="bm_top"></div>
        <div class="bm_music">
          <div class="btns">
            <a href="javascript:;" class="prv"></a>
            <a href="javascript:;" class="ply"></a>
            <a href="javascript:;" class="nxt"></a>
          </div>
          <div class="music_mask">
            <img src="./wimg/小精卫.jpg" alt="" id="m_img">
            <a href="javascript:;" class="mask"></a>
          </div>
          <div class="music_play">
            <div class="m_word">
              <a href="javascripy:;" class="name">精卫</a>
              <a href="javascript:;" class="fspan">30年前，50年后</a>
              <a href="javascript:;" class="src"></a>
            </div>
            <div class="speed">
              <div class="s_mind"></div>
              <div class="red rate">
                <span class="red_knew"></span>
              </div>
              <span class="time">
                <span class="already">00:00</span>
                <span>/</span>
                <span class="duration">00:00</span>
              </span>
            </div>
          </div>
          <div class="doc_right">
            <a href="javascript:;" class="dc_pip"></a>
            <a href="javascript:;" class="dc_add"></a>
            <a href="javascript:;" class="dc_share"></a>
          </div>
          <div class="ctrl_right">
            <div class="ctr-voice">
              <div class="bager"></div>
              <div class="vo-road">
                <div class="red-road"><span class="min-red"></span></div>

              </div>
            </div>
            <a href="javascript:;" class="cr_vol"></a>
            <a href="javascript:;" class="cr_loop"></a>
            <span class="add_more">
              <!-- 还未写<span></span> -->
              <a href="javascript:;" class="cr_list">
                <span class="musicM">1</span>
              </a>
            </span>
          </div>
        </div>
        <div class="bm_bg_right">
          <div class="bb1">
            <a href="javascript:;" class="lock"></a>
          </div>
          <div class="bb2"></div>
        </div>
        <div class="music-list">
          <div class="listhd">
            <div class="lidc">
              <h4>播放列表</h4>
              <a href="javascript:;" class="alladd">
                <span class="allbag"></span>
                收藏全部
              </a>
              <span class="line"></span>
              <a href="javascript:;" class="allclear">
                <span class="clearbag"></span>
                清除
              </a>
              <p class="music-name">精卫</p>
              <span class="close">

              </span>
            </div>
          </div>
          <div class="listbd">
            <img src="./wimg/listbg.jpg" alt="" class="imgbg">
            <div class="lbd-left">
              <ul>
                <li>
                  <div class="col col1">
                    <div class="picn"></div>
                  </div>
                  <div class="col col2">精卫</div>
                  <div class="col col3">
                    <span class="ic1"></span>
                    <span class="ic2"></span>
                    <span class="ic3"></span>
                    <span class="ic4"></span>
                  </div>
                  <div class="col col4">
                    <a href="javascript:;" class="band">30年前，50年后</a>
                  </div>
                  <div class="col col5">02:56</div>
                  <div class="col col6">
                    <a href="javascript:;" class="icowhere"></a>
                  </div>
                </li>
              </ul>
            </div>
            <div class="wall-box">
              <!-- 有机会再用这个scroll -->
              <!-- <span class="wall-scroll"></span> -->
            </div>
            <div class="vanish">
              <div class="lyric">
              </div>
            </div>
          </div>
        </div>
      </div>
    </div>
    <!-- 底部音乐栏结束 -->

    <!-- 底部样式开始 -->
    <div class="end_bottom_new">
      <div class="ebn_box">
        <ul>
          <li>
            <a href="javascript:;" class="ea1"></a>
            <span>音乐开放平台</span>
          </li>
          <li>
            <a href="javascript:;" class="ea2"></a>
            <span>云村交易所</span>
          </li>
          <li>
            <a href="javascript:;" class="ea3"></a>
            <span>Amped Studio</span>
          </li>
          <li>
            <a href="javascript:;" class="ea4"></a>
            <span>用户认证</span>
          </li>
          <li>
            <a href="javascript:;" class="ea5"></a>
            <span>独立音乐人</span>
          </li>
          <li>
            <a href="javascript:;" class="ea6"></a>
            <span>赞赏</span>
          </li>
          <li>
            <a href="javascript:;" class="ea7"></a>
            <span>视频激励</span>
          </li>
        </ul>
        <div class="ebn_title">
          <p class="bp1">
            <a href="javascript:;">服务条款</a>
            <span>|</span>
            <a href="javascript:;">隐私政策</a>
            <span>|</span>
            <a href="javascript:;">儿童隐私政策</a>
            <span>|</span>
            <a href="javascript:;">版权投诉</a>
            <span>|</span>
            <a href="javascript:;">投资者关系</a>
            <span>|</span>
            <a href="javascript:;">广告合作</a>
            <span>|</span>
            <a href="javascript:;">联系我们</a>
          </p>
          <p class="bp2">
            <a href="javascript:;">廉政举报中心</a>
            <span>廉政举报邮箱: 51jubao@service.netease.com</span>
            <span>客服热线：95163298</span>
          </p>
          <p class="bp3">
            <span>互联网宗教信息服务许可证：浙（2022）0000120</span>
            <a href="javascript:;">粤B2-20090191-18 工业和信息化部备案管理系统网站</a>
            <a href="javascript:;">
              <span class="police"></span>
              <span class="p-home">浙公网安备 33010902002564号</span>
            </a>
          </p>
          <p class="bp4">
            <span class="wcompany">网易公司版权所有©1997-2022</span>
            <span>杭州乐读科技有限公司运营：</span>
            <a href="javascript:;">浙网文[2021] 1186-054号</a>
          </p>
        </div>
      </div>
    </div>
    <!-- <div class="end_bottom">
        <div class="eb_Son">
          <div class="eb_Son_Left">
            <p class="esL_p1">
              <a href="">服务条款</a>
              <span>|</span>
              <a href="">隐私政策</a>
              <span>|</span>
              <a href="">儿童隐私政策</a>
              <span>|</span>
              <a href="">版权投诉</a>
              <span>|</span>
              <a href="">投资者关系</a>
              <span>|</span>
              <a href="">广告合作</a>
              <span>|</span>
              <a href="">廉政举报</a>
              <span>|</span>
              <a href="">联系我们</a>
            </p>
            <p class="esL_p2">
              <span class="eslp2_1">网易公司版权所有©1997-2022</span>
              <span>杭州乐读科技有限公司运营：</span>
              <a href="">浙网文[2021] 1186-054号</a>
            </p>
            <p class="esL_p3">
              <a href="" class="eslp3_a1">粤B2-20090191-18 工业和信息化部备案管理系统网站</a>
              <a href="" class="eslp3_a2">
                <span class="eslp3_img"></span>
                <span class="eslp3_tit">浙公网安备 33010902002564号</span>
              </a>
            </p>
            <p class="esL_p4">
              <span class="eslp4_s1">互联网宗教信息服务许可证：浙（2022）0000120</span>
              <span class="eslp4_s2">监督举报邮箱：51jubao@service.netease.com</span>
            </p>
          </div>
          <ul class="eb_Son_Right">
            <li class="li1">
              <a href=""></a>
              <span class="sp1"></span>
            </li>
            <li class="li2">
              <a href=""></a>
              <span class="sp2"></span>
            </li>
            <li class="li3">
              <a href=""></a>
              <span class="sp3"></span>
            </li>
            <li class="li4">
              <a href=""></a>
              <span class="sp4"></span>
            </li>
            <li class="li5">
              <a href=""></a>
              <span class="sp5"></span>
            </li>
          </ul>
        </div>
      </div> -->
    <!-- 底部样式结束 -->

    <!-- 回到顶部 -->
    <a href="#" class="return_top"></a>
    <audio src="./网易数据包/音频/精卫.m4a" id="myaudio" preload="metadata"></audio>
  </div>
</body>

</html>
<script src="./WJS/utils.js"></script>
<script src="./WJS/fastclick.js"></script>
<script src="./WJS/subscribe.js"></script>
<script src="./WJS/大轮播图.js"></script>
<script src="./WJS/热门推荐.js"></script>
<script src="./WJS/小轮播图.js"></script>
<script src="./WJS/新碟上架.js" defer></script>
<script src="./WJS/入驻歌手.js"></script>
<script src="./WJS/热门主播.js"></script>
<script src="./WJS/榜单.js"></script>
<script src="./WJS/voice.js"></script>
<script src="./WJS/music.js"></script>
<script>
  // 回到顶部
  let top_div = document.getElementsByClassName
    ("return_top")[0];
  max.onscroll = function () {
    let t = max.scrollTop
    if (t > 0) {
      top_div.style.display = "block";
    } else {
      top_div.style.display = "none";
    }
  }
  top_div.onclick = function () {
    max.scrollTop = 0
  }


  // input内部字
  let search = document.getElementsByTagName('input')[0];
  search.addEventListener('focus', function () {
    console.log(111);
    this.placeholder = ''
  })

  search.addEventListener('blur', function () {
    console.log(111);
    this.placeholder = '音乐/视频/电台/用户'
  })

  // 底部音乐锁
  let Jerry = document.querySelector('.bm_top')
  let JerryHome = document.querySelector('.bm_box')
  let lock = document.querySelector('.lock')
  lock.addEventListener('click', function () {
    console.log(111);
    if (lock.className === 'lock') {
      lock.className = 'locked'
      JerryHome.className = 'bm_box2'
      return
    }
    if (lock.className === 'locked') {
      lock.className = 'lock'
      JerryHome.className = 'bm_box'
      return
    }
  })

  // 点击出音乐列表
  let mlist = document.querySelector('.cr_list')
  let mCenter = document.querySelector('.music-list')
  let num = 1
  mlist.addEventListener("click", function () {
    if (num === 1) {
      mCenter.style.display = "block"
      num = num * -1
    } else {
      mCenter.style.display = "none"
      num = num * -1
    }
  })

  // 点x音乐列表消失
  let closeList = document.querySelector('.close')
  closeList.addEventListener("click", function () {
    mCenter.style.display = "none"
    num = 1
  })
</script>